package com.example.demo.demos.example;

/**
 * @author lyh
 * @date 2025/6/4 14:08
 */
public class DoubleLength {
    public static void main(String[] args) {
        String s1 = "28.57";
        String s2 = "30";
        System.out.println(Double.parseDouble(s1));
        System.out.println(Double.parseDouble(s2));
        System.out.println(Double.parseDouble(s1) < Double.parseDouble(s2));

        System.out.println(Integer.parseInt(s1));
    }
}
